/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.bar.carta.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the PlatoIdioma service. Represents a row in the &quot;carta_PlatoIdioma&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.bar.carta.model.impl.PlatoIdiomaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.bar.carta.model.impl.PlatoIdiomaImpl}.
 * </p>
 *
 * @author pgonzalm
 * @see PlatoIdioma
 * @see com.bar.carta.model.impl.PlatoIdiomaImpl
 * @see com.bar.carta.model.impl.PlatoIdiomaModelImpl
 * @generated
 */
public interface PlatoIdiomaModel extends BaseModel<PlatoIdioma> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a plato idioma model instance should use the {@link PlatoIdioma} interface instead.
	 */

	/**
	 * Returns the primary key of this plato idioma.
	 *
	 * @return the primary key of this plato idioma
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this plato idioma.
	 *
	 * @param primaryKey the primary key of this plato idioma
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the plato idioma ID of this plato idioma.
	 *
	 * @return the plato idioma ID of this plato idioma
	 */
	public long getPlatoIdiomaId();

	/**
	 * Sets the plato idioma ID of this plato idioma.
	 *
	 * @param platoIdiomaId the plato idioma ID of this plato idioma
	 */
	public void setPlatoIdiomaId(long platoIdiomaId);

	/**
	 * Returns the plato ID of this plato idioma.
	 *
	 * @return the plato ID of this plato idioma
	 */
	public long getPlatoId();

	/**
	 * Sets the plato ID of this plato idioma.
	 *
	 * @param platoId the plato ID of this plato idioma
	 */
	public void setPlatoId(long platoId);

	/**
	 * Returns the name of this plato idioma.
	 *
	 * @return the name of this plato idioma
	 */
	@AutoEscape
	public String getName();

	/**
	 * Sets the name of this plato idioma.
	 *
	 * @param name the name of this plato idioma
	 */
	public void setName(String name);

	/**
	 * Returns the descripcion of this plato idioma.
	 *
	 * @return the descripcion of this plato idioma
	 */
	@AutoEscape
	public String getDescripcion();

	/**
	 * Sets the descripcion of this plato idioma.
	 *
	 * @param descripcion the descripcion of this plato idioma
	 */
	public void setDescripcion(String descripcion);

	/**
	 * Returns the idioma of this plato idioma.
	 *
	 * @return the idioma of this plato idioma
	 */
	public int getIdioma();

	/**
	 * Sets the idioma of this plato idioma.
	 *
	 * @param idioma the idioma of this plato idioma
	 */
	public void setIdioma(int idioma);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(PlatoIdioma platoIdioma);

	public int hashCode();

	public CacheModel<PlatoIdioma> toCacheModel();

	public PlatoIdioma toEscapedModel();

	public String toString();

	public String toXmlString();
}